package cn.ks.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum GlobalExceptionCodeEnum {
   //公共类
    OK("成功","0"),
    ERROR("失败","-1"),
    //100x为system
    SERVER_PARAM_IS_NULL("参数不能为空","1001"),
    //300x user
    USER_PARAM_IS_NULL("参数不能为空","3001"),
    //200x uaa
    UAA_PARAM_IS_NULL("参数不能为空","2002")
    ;

    private String message;

    private String code;

}
